package com.school.sports.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.school.sports.entity.Referee;
import org.apache.ibatis.annotations.Mapper;

/**
 * 裁判表Mapper接口
 */
@Mapper
public interface RefereeMapper extends BaseMapper<Referee> {

    /**
     * 查询裁判详情（包含用户信息、分配信息）
     * @param id 裁判ID
     * @return 裁判详情
     */
    Referee selectRefereeWithDetails(Long id);
}